#ifndef __INCLUDE_UART_H
#define __INCLUDE_UART_H
//参考资料：https://blog.csdn.net/lzxiaotu/article/details/119848575
//参考工具：单片机小精灵v1.4

//接收回调定义
typedef void (*UART_Receive_Callback)(char);

void UART_Init(void);
void UART_Interrupt4(void) __interrupt 4;
void UART_SET_Interrupt4_Callback(UART_Receive_Callback callback);

void UART_SendOneByte(unsigned char c);
void UART_SendIntData(int d);
void UART_SendString(char *str, unsigned char len);

#endif